package edu.stanford.prpl.api;

public interface PRPLCommonMethods {

	interface DeviceMethod {

		Device[] getAllBlobServerDevices();

		Device[] getAllDevices();

		Device getDevice(String deviceURI);

	}

	interface IndexMethod {

		boolean syncIndexWith(String identityURI);

		boolean pullIndexFrom(String identityURI);

		boolean pushIndexTo(String identityURI);

		boolean clearIndexOf(String identityURI);

		long getIndexLastModifiedDate();

	}
}
